package com.tuanzi.loan.business.entity.family;

import com.tuanzi.loan.core.entity.AuditEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
* @Description:    大额配置管理
* @Author:         xionghao
* @CreateDate:     2018-08-21
*/
@Data
@Entity
@Table(name = "loan_wholesale_comment")
@EqualsAndHashCode(callSuper = true)
public class LoanWholeSaleComment extends AuditEntity implements Serializable{

    private static final long serialVersionUID = -4613246092556325250L;
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "ownername")
    private String ownername;

    @Column(name = "sort")
    private Integer sort;

    @Column(name = "number")
    private Integer number;

    @Column(name = "uppertime")
    private String uppertime;

    @Column(name = "downtime")
    private String downtime;

    @Column(name = "avgprice")
    private BigDecimal avgprice;

    @Column(name = "approvenum")
    private Integer approvenum;

    @Column(name = "cooperate")
    private String cooperate;

    @Column(name = "amount")
    private Long amount;


    @Column(name = "createdate")
    private Date createdate;

    @Column(name = "status")
    private Integer status;

    @Column(name = "type")
    private Integer type;

    @Column(name = "onlinedate")
    private String onlinedate;

    @Column(name = "daikuan_amount")
    private String daikuan_amount;

    @Column(name = "income")
    private String income;

    @Column(name = "house_fund")
    private String house_fund;

    @Column(name = "social_insurance")
    private String social_insurance;

    @Column(name = "has_car")
    private String has_car;

    @Column(name = "has_estate")
    private String has_estate;

    @Column(name = "credit")
    private String credit;

    @Column(name = "has_weilidai")
    private String has_weilidai;

    @Column(name = "life_insurance")
    private String life_insurance;

    @Column(name = "minage")
    private Integer minage;

    @Column(name = "maxage")
    private Integer maxage;

    @Column(name = "social_insuranceduration")
    private String social_insuranceduration;

    @Column(name = "house_fundduration")
    private String house_fundduration;

    @Column(name = "waitui")
    private String waitui;

    @Column(name = "zhannei")
    private String zhannei;

    @Column(name = "comm_regoin")
    private String comm_regoin;

    @Column(name = "check_id")
    private Integer checkId;

    @Column(name = "filter_channel")
    private String filterChannel;

    @Column(name = "city_limit")
    private String cityLimit;

    @Column(name = "total_limit")
    private Integer totalLimit;
}
